package ink.carnation.imtalk.model.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author 桂乙侨
 * @Date 2020/9/23 16:12
 * @Version 1.0
 */
@Table(name = "tb_private_chat")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PrivateChatMessagePo implements Serializable {

    private Integer id;

    private Integer userId;

    private String content;

    private Integer friendId;

    private Date createDate;
    //ta没有默认值需要程序中生成

}
